package com.ruoyi.canteen.domain.vo;

public class MealStatisticsVO {
    private String mealType;       // 午餐 / 晚餐
    private int totalOrders;       // 已报餐人数（包括“临时用餐”）
    private int receivedCount;     // 已领取人数
    private int notReceivedCount;  // 未领取人数（=已报餐 - 已领取）
    private int tempMealCount;     // 临时用餐人数

    public MealStatisticsVO() {
    }

    public MealStatisticsVO(String mealType, int totalOrders, int receivedCount, int notReceivedCount, int tempMealCount) {
        this.mealType = mealType;
        this.totalOrders = totalOrders;
        this.receivedCount = receivedCount;
        this.notReceivedCount = notReceivedCount;
        this.tempMealCount = tempMealCount;
    }

    public String getMealType() {
        return mealType;
    }

    public void setMealType(String mealType) {
        this.mealType = mealType;
    }

    public int getTotalOrders() {
        return totalOrders;
    }

    public void setTotalOrders(int totalOrders) {
        this.totalOrders = totalOrders;
    }

    public int getReceivedCount() {
        return receivedCount;
    }

    public void setReceivedCount(int receivedCount) {
        this.receivedCount = receivedCount;
    }

    public int getNotReceivedCount() {
        return notReceivedCount;
    }

    public void setNotReceivedCount(int notReceivedCount) {
        this.notReceivedCount = notReceivedCount;
    }

    public int getTempMealCount() {
        return tempMealCount;
    }

    public void setTempMealCount(int tempMealCount) {
        this.tempMealCount = tempMealCount;
    }

    @Override
    public String toString() {
        return "MealStatisticsVO{" +
                "mealType='" + mealType + '\'' +
                ", totalOrders=" + totalOrders +
                ", receivedCount=" + receivedCount +
                ", notReceivedCount=" + notReceivedCount +
                ", tempMealCount=" + tempMealCount +
                '}';
    }
}
